html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.heart {
    width: 10em;
    height: 10em;
    position: relative;
    display: inline-block;
}

.heart:before,
.heart:after {
    position: absolute;
    content: "";
    left: 5em;
    top: 1em;
    width: 5em;
    height: 8em;
    background: #ec1443;
    border-radius: 5em 5em 0 0;
    transform: rotate(-45deg);
    transform-origin: 0 100%;
}

.heart:after {
    left: 0;
    transform: rotate(45deg);
    transform-origin: 100% 100%;
}

.heart-shadow {
    z-index: 100;
    animation: heart-anim 1s linear .4s infinite;
}

.heart-beat {
    z-index: 99;
    animation: pounding .5s linear infinite alternate;
}

.heart-shadow:after,
.heart-shadow:before {
    background-color: #ff7693;
}

@keyframes pounding {
    0% {
        transform: scale(1.5);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes heart-anim {
    46% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
    52% {
        transform: scale(1.5);
    }
    55% {
        transform: scale(3);
    }
    100% {
        opacity: 0;
        transform: scale(50);
    }
}

.container {
    text-align: center;
    padding: 2em;
}

.mobie {
    font-size: 1rem;
}

.bottom-text,
.top-text {
    text-align: center;
    user-select: none;;
}

.bottom-text {
    font-size: 1.8rem;
    padding: 2rem;
}

.top-text {
    margin-top: 2em;
    font-size: 2rem;
    padding: 2rem;
}

.name {
    display: inline-block;
    padding: 0.2em;
}


@media screen and (max-width:1024px) {
    .mobie {
        font-size: 1rem;
    }
    .mobie {
        font-size: 1rem;
    }
    .bottom-text,
    .top-text {
        text-align: center;
    }
    .bottom-text {
        font-size: 1rem;
        padding: 2rem;
    }
    .top-text {
        margin-top: 2em;
        font-size: 2rem;
        padding: 2rem;
    }
    .name {
        display: inline-block;
        padding: 0.2em;
    }
}